package Practice07;

import java.io.*;

public class test1 {

    public static void main(String[] args) {
        FileOutputStream fis = null;
        File f = null;
        try {
            f = new File("E://22051238.txt");
            fis = new FileOutputStream(f);
            fis.write(22051238);
        } catch (FileNotFoundException e) {
            throw new RuntimeException(e);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }finally {
            if (fis != null) {
                try {
                    fis.close();
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
        }
    }
}
